Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix examples that use Date Input component #975

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

36degrees
Copy link
Contributor

Since the class name is no longer automatically added (as changed in #969), we have to either provide the width class ourselves or omit the items attribute in order to get the ‘default’ items array, which includes the classes.

Where possible, I’ve opted for the latter – the only case where this isn’t currently possible is the passport expiry date example in the ‘error summary with messages’ example, where I’ve added the width classes.

Since the class name is no longer automatically added (as changed in #969), we have to either provide the width class ourselves or omit the `items` attribute in order to get the ‘default’ items array, which includes the classes.

Where possible, I’ve opted for the latter – the only case where this isn’t currently possible is the passport expiry date example in the ‘error summary with messages’ example, where I’ve added the width classes.
@36degrees 36degrees merged commit 64c0a4c into master Sep 5, 2018
@36degrees 36degrees deleted the fix-examples-date-input branch September 5, 2018 13:19
@kr8n3r kr8n3r added this to the v2.0.0 milestone Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants